* {
    margin: 0;
    padding: 0;
    border: none;
    list-style: none;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-family: Helvetica, sans-serif;
}
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.sky_box{
    position: relative;
    width: 100%;
    background: linear-gradient( -10deg,rgb(90, 100, 115),rgb(7, 32, 64),rgb(4, 28, 56));
    background: radial-gradient(200% 130% at top left,rgb(4, 28, 56),rgb(7, 32, 64),rgb(90, 100, 115));
    flex: 3.5;
    z-index: -3;
}
.sky h1{
    margin: 2% auto 0;
    font-family: 'Microsoft YaHei';
    color: rgb(52, 177, 108);
    opacity: 0.5;
}
.star_cell{
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    min-height: 90%;
    overflow: hidden;
}
@keyframes rotate {
    from{
        transform: perspective(400px) rotateY(0deg) rotateX(40deg) rotateZ(20deg);
    }
    to{
        transform: perspective(400px) rotateY(-360deg) rotateX(40deg) rotateZ(20deg);
    }
}
.star{
    position: absolute;
    left: 10%;
    transform-origin: 100% 50%;
    perspective-origin: 100% 50%;
    transform-style: preserve-3d;
    transform: perspective(500px);
    animation: rotate 90s infinite linear;
}
.star *{
    position: absolute;
    width: 1px;
    height: 1px;
    background: yellow;
    border-radius: 50%;
    top:0px;
    left: 0px;
}
.light_cell{
    position: absolute;
    top: -90px;
    right: 30%;
    border-style: solid;
    border-color: rgba(247, 133, 4, 0) rgba(247, 133, 4, 0) rgba(0, 0, 0, 0.7);
    border-width: 10px 20px 80px 20px;
    z-index: 1;
}
.light{
    position: absolute;
    width: 7px;
    height: 7px;
    top: 3px;
    left: -3px;
    border-radius: 50%;
    background: rgba(235, 235, 224, 0.9);
    animation: rotateX 10s ease 5s infinite alternate-reverse;
    z-index: 1;
    transform-style: preserve-3d;
}
@keyframes rotateX {
    0%{
        transform: rotateY(0deg);
        opacity: 1;
    }
    50%{
        transform: rotateY(90deg);
        opacity: 0.3;
    }
    100%{
        transform: rotateY(180deg);
        opacity: 1;
    }
    
}
.light::before,.light::after{
    content: '';
    position: absolute;
    left: -5px;
    top: 2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgb(242, 142, 27);
    z-index: 1;
    transform-style: preserve-3d;
    filter: blur(5px);
}
.light::after{
    transform: scale(7);
    border: solid 1px white;
    padding: 8px;
    background: rgb(209, 170, 53);
    background-clip: content-box;
}
.ground_box{
    position: relative;
    width: 100%;
    background: linear-gradient( 10deg,rgb(3, 19, 38),rgb(7, 32, 64),rgb(7, 32, 64),rgb(90, 100, 115));
    flex: 1;
}
[vi = 'vi'] .ground::after{
    opacity: 1;
}
[vi = 'vi'] .ground::before{
    opacity: 1;
}
.ground::after,.ground::before{
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to left,rgb(230, 55, 162),rgba(248, 121, 37, 0.8),rgba(177, 39, 8, 0.1));
    z-index: -1;
    opacity: 0;
    transition: all 0.5s ease;
}
.ground::after{
    filter: blur(40px);
    z-index: -2;
}
.ground_cell h3{
    overflow: hidden;
    width: 100%;
    position: absolute;
    bottom: 2%;
    text-align: center;
    color: rgba(242, 142, 27, 0.541);
}
/* table */
.table_box{
    width: 500px;
    position: absolute;
}
.table_cell,.btn_cell{
    overflow: hidden;
    position: relative;
}
.table,.btn{
    position: relative;
    z-index: 9998;
    width:100%;
    border-radius: 5px;
    overflow: hidden;
}
.btn p{
    box-sizing: border-box;
    border: white 2px solid;
    border-radius: 5px;
    width: 30%;
    color: white;
    padding: 5px;
    margin: 5px auto;
    opacity: 0.3;
    cursor: pointer;
}
.table::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0));
}
.table li{
    position: relative;
    width: 100px;
    height: 100px;
    line-height: 100px;
    float: left;
    box-sizing: border-box;
    cursor: pointer;
    overflow: hidden;
    z-index: 9999;
}
.table li p{
    transform-origin: center center;
    width: 101%;
    height: 101%;
    font-size: 0px;
    border-radius: 50%;
}

.table li[z = "0"] p{
    transform: scale(0.05,0.05);
    filter: blur(30px);
    background-color: rgba(255, 255, 255,0.5);
    transition: all 0.4s ease-out;
}
.table li[z = "1"] p{
    transform: scale(1.5,1.5);
    background-color: rgba(255, 255, 255,0.3);
    transition: all 0.4s ease-in;
} 
@media(max-width: 600px){
    .table_box{
        width: 95%;
    }
    .sky h1{
        margin-top: 10%;
    }
    .light_cell{
        transform: scale(0.8,1);
        right: 15%;
        transform-origin: bottom;
    }
    .table li{
        width: 20%;
    }
}
@media(max-width: 450px){
    .table_box{
        width: 98%;
        min-width: 300px;
    }
    .table li{
        width: 20%;
    }
    .light_cell{
        transform: scale(0.7,0.8);
        transform-origin: bottom;
    }
}
